package eshin.blog.beans;

public class LoginInfo {

	private String  username;
	private int     retryCount;
	private boolean isLock;
	private double    lockTime;
	
	public LoginInfo() {
		this.retryCount=0;
		this.isLock=false;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getRetryCount() {
		return retryCount;
	}
	public void setRetryCount(int retryCount) {
		this.retryCount = retryCount;
	}
	public boolean isLock() {
		return isLock;
	}
	public void setLock(boolean isLock) {
		this.isLock = isLock;
	}
	public double getLockTime() {
		return lockTime;
	}
	public void setLockTime(double lockTime) {
		this.lockTime = lockTime;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "LoginInfo [username=" + username + ", retryCount=" + retryCount + ", isLock=" + isLock
				+ ", lockTime=" + lockTime + "]";
	}
	
}
